<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>在线OJ-题目列表</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }

        html, body{
            width: 100%;
            height: 100%;
        }

        .containers .navbar{
            width: 100%;
            height: 50px;
            /*background-color: #242424;*/
            background-color: #f8f9fa;
            overflow: hidden;
        }

        .containers .navbar a{
            display: inline-block;
            width: 80px;
            color: #212529;
            /*color: #f0f0f0;*/
            font-size: large;
            line-height: 50px;
            text-decoration: none;
        }

        .containers .navbar a:hover{
            background-color: rgba(144, 238, 144, 0.5);
        }

        .containers .navbar .login{
            float: right;
        }

        .containers .question_list{
            padding-top: 50px;
            width: 800px;
            margin: 0px auto;
            /* background-color: #ccc; */
            text-align: center;
        }

        .containers .question_list table{
            margin-top: 50px;
            width: 100%;
            height: 100%;
            font-size: large;
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif ;
            background-color: rgb(243, 248, 246);
        }

        .containers .question_list h1{
            color: darkgreen;
        }

        .containers .question_list table .item{
            width: 100px;
            height: 40px;
            font-size: large;
            font-family: 'Times New Roman', Times, serif;
        }

        .containers .question_list table .item a{
            text-decoration: none;
            color: black;
        }
        .containers .question_list table .item a:hover{
            color: rgb(79, 79, 178);
            text-decoration: underline;
        }
        .containers .footer{
            width: 100%;
            height: 50px;
            text-align: center;
            line-height: 50px;
            color: #ccc;
            margin-top: 15px;
        }
    </style>
</head>
<body>
    <div class="containers">
        <!-- 导航栏 -->
        <div class="navbar">
            <a href="/index.html">首页</a>
            <a href="/all_questions">题库</a>
            <a href="">竞赛</a>
            <a href="">讨论</a>
            <a href="">求职</a>
            <a href="" class="login">登录</a>
        </div>
        <!-- 网页内容 -->
        <div class="question_list">
            <h1>OnlineJudge题目列表</h1>
            <table>
        <tr>
            <th class="item">编号</th>
            <th class="item">标题</th>
            <th class="item">难度</th>
        </tr>
        {{#question_list}}
        <tr>
            <td class="item">{{number}}</td>
            <td class="item"><a href="/question/{{number}}">{{title}}</a></td>
            <td class="item">{{star}}</td>
        </tr>
        {{/question_list}}
    </table>
        </div>
        <div class="footer">
            <!-- <hr> -->
            <h4>@Rustle</h4>
        </div>
    </div>
</body>
</html>